package com.cjx.myself.controller.rce;

import com.cjx.myself.service.rce.RceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/rce/processimpl")
public class ProcessImplController {

    @Autowired
    private RceService rceService;

    @RequestMapping("/rce1")
    public String rce1(String cmd) throws Exception {
        return rceService.rce3(cmd);
    }

}


